<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>RoboStore商城</title>
    <meta name="Keywords" content="RoboStore">
    <meta name="Description" content="RoboStore">
</head>

<body>
    <div id="app">
        <h1>这是一个页面</h1>
        <a href="./main/main.html">跳转</a>
    </div>
</body>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
    axios.get('/parts/api/v1/parts')
    .then(res => {
        console.log(res.data)
    })
</script>
</html>